const router = require('koa-router')()
const { registerPost, loginByPost } = require('../controller/user.js')

router.prefix('/users')
//注册
router.get('/register', registerPost)
//登录
router.get('/login', loginByPost)


module.exports = router
